gdk: add zero-terminated annotation to content_formats_get_gtypes
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Fri, 30 Apr 2021 13:40:27 +0000 (15:40 +0200)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Fri, 30 Apr 2021 13:43:33 +0000 (15:43 +0200)
gdk/gdkcontentformats.c

index 1f059f109f3b561e6cd86867d3cc89a9248586c4..9bfaca1f8b1f61da36357f784a58662bb6562a0a 100644 (file)
@@ -461,7 +461,7 @@ gdk_content_formats_contain_mime_type (const GdkContentFormats *formats,
  * Note that @formats may not contain any #GTypes, in particular when
  * they are empty. In that case %NULL will be returned.
  *
- * Returns: (transfer none) (nullable) (array length=n_gtypes):
+ * Returns: (transfer none) (nullable) (array length=n_gtypes zero-terminated=1):
  *      %G_TYPE_INVALID-terminated array of types included in @formats or
  *      %NULL if none.
  */